"""
URL configuration for App.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.urls import path
from App import views


urlpatterns = [
    # templates和static放在子应用文件夹里面
    path('index1/', views.index1, name='index1'),
    # templates和static放在与项目同级
    path('index2/', views.index2, name='index2'),
    # 单文件上传
    path('upload_one_file/', views.upload_one_file, name='upload_one_file'),
    # 显示图片
    path('show_icon/', views.show_icon, name='show_icon'),
    # 多文件上传
    path('upload_many_file/', views.upload_many_file, name='upload_many_file'),
]
